package com.tender.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.tender.page.Pagination;
import com.tender.utils.CustomDateDeserializerUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 首页订单查询 模型
 */
@Data
public class BillAndShipVisitModel extends Pagination {

    @Schema(description = "提单号")
    private String billNo;

    @Schema(description = "航次id")
    private String shipVisitId;

    @Schema(description = "开始日期")
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    private Date beginDate;

    @Schema(description = "结束日期")
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    private Date endDate;

    @Schema(description = "【解析后】的箱公司code 列表")
//    private List<String> cntrCorpCodList;
    private List<String> unitOperatorCodeList;

    /**
     * // @see jnfp.enums.ImExTypeEnum
     */
    // 默认 进口
    @Schema(description = "下拉框，对应的进出口值")
    private String imExType = "I";

}
